Change in thermal energy (J) = mass(kg) x change in temperature(°C) x specific heat ( J/kg°C)
Q = m(Tf - Ti)C